package com.runen.wnhz.runen.common.utils;

import android.os.Environment;

import java.io.File;

public class FileUtils {

    // 定义文件夹目录地址
    final static String videoSavePath = Environment.getExternalStorageDirectory().getAbsolutePath() + File.separator + "runen/";

    /**
     * 创建文件目录
     */
    public static String createFileCatalogue() {
        File destDir = new File(videoSavePath);
        if (!destDir.exists()) {
            destDir.mkdirs();
        }
        return destDir.getAbsolutePath();
    }
}
